Platform Explorer / Nuxeo Platform 2021.26

Contribution org.nuxeo.ecm.core.versioning.default-policies--policies

This contribution is part of XML component org.nuxeo.ecm.core.versioning.default-policies inside nuxeo-core-2021.26.5.jar /OSGI-INF/versioning-default-policies.xml

Extension Point

Extension point policies of component VersioningService.

Registration Order

0
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <policy beforeUpdate="true" id="no-versioning-for-system-before-update" increment="NONE" order="1">
          <filter-id>system-document</filter-id>
        </policy>
  • <policy id="no-versioning-for-system-after-update" increment="NONE" order="1">
          <filter-id>system-document</filter-id>
        </policy>
  • <policy beforeUpdate="true" id="disable-versioning-before-update" increment="NONE" order="2">
          <filter-id>disable-versioning</filter-id>
        </policy>
  • <policy id="disable-versioning-after-update" increment="NONE" order="2">
          <filter-id>disable-versioning</filter-id>
        </policy>
  • <policy id="note-as-wiki" increment="MINOR" order="50">
          <filter-id>note-filter</filter-id>
        </policy>
  • <policy beforeUpdate="true" id="collaborative-save" increment="MINOR" order="100">
          <filter-id>last-contributor-different-filter</filter-id>
        </policy>

XML Source

<extension point="policies" target="org.nuxeo.ecm.core.api.versioning.VersioningService">
    <policy beforeUpdate="true" id="no-versioning-for-system-before-update" increment="NONE" order="1">
      <filter-id>system-document</filter-id>
    </policy>
    <policy id="no-versioning-for-system-after-update" increment="NONE" order="1">
      <filter-id>system-document</filter-id>
    </policy>
    <policy beforeUpdate="true" id="disable-versioning-before-update" increment="NONE" order="2">
      <filter-id>disable-versioning</filter-id>
    </policy>
    <policy id="disable-versioning-after-update" increment="NONE" order="2">
      <filter-id>disable-versioning</filter-id>
    </policy>
    <policy id="note-as-wiki" increment="MINOR" order="50">
      <filter-id>note-filter</filter-id>
    </policy>
    <policy beforeUpdate="true" id="collaborative-save" increment="MINOR" order="100">
      <filter-id>last-contributor-different-filter</filter-id>
    </policy>
  </extension>